package sjtu.rfid.rri.services.ale.tm;

import java.io.Serializable;

public class TMFixedFieldSpec implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1678957792200263690L;

	private String fieldname;
	private int bank;
	private int length;
	private int offset;
	private String defaultDatatype;
	private String defaultFormat;

	/**
	 * @return the fieldname
	 */
	public String getFieldname() {
		return fieldname;
	}

	/**
	 * @param fieldname
	 *            the fieldname to set
	 */
	public void setFieldname(String fieldname) {
		this.fieldname = fieldname;
	}

	/**
	 * @return the bank
	 */
	public int getBank() {
		return bank;
	}

	/**
	 * @param bank
	 *            the bank to set
	 */
	public void setBank(int bank) {
		this.bank = bank;
	}

	/**
	 * @return the length
	 */
	public int getLength() {
		return length;
	}

	/**
	 * @param length
	 *            the length to set
	 */
	public void setLength(int length) {
		this.length = length;
	}

	/**
	 * @return the offset
	 */
	public int getOffset() {
		return offset;
	}

	/**
	 * @param offset
	 *            the offset to set
	 */
	public void setOffset(int offset) {
		this.offset = offset;
	}

	/**
	 * @return the defaultDatatype
	 */
	public String getDefaultDatatype() {
		return defaultDatatype;
	}

	/**
	 * @param defaultDatatype
	 *            the defaultDatatype to set
	 */
	public void setDefaultDatatype(String defaultDatatype) {
		this.defaultDatatype = defaultDatatype;
	}

	/**
	 * @return the defaultFormat
	 */
	public String getDefaultFormat() {
		return defaultFormat;
	}

	/**
	 * @param defaultFormat
	 *            the defaultFormat to set
	 */
	public void setDefaultFormat(String defaultFormat) {
		this.defaultFormat = defaultFormat;
	}

}
